﻿using System;
using System.Collections.Generic;
using NTTDATA.BEENChina.ResultCertification.DataStore;
using NTTDATA.BEENChina.ResultCertification.Logic;
using NTTDATA.BEENChina.ResultCertification.model;

namespace NTTDATA.BEENChina.ResultCertification.WcfServiceLibrary
{
 
	public class ProcessLog:IProcessLog
	{
		public List<ProcessLogItem> GetProcessLogs(EnumProcessModel model)
		{
			DataStore.IProcessLog processLog = new ProcessLogAccess();
			return processLog.GetProcessLogs(model.ToString());
		}

		public List<ProcessLogItem> GetAllProcessLogs()
		{
			DataStore.IProcessLog processLog = new ProcessLogAccess();
			return processLog.GetProcessLogs();
		}

		public List<ProcessLogItem> GetMaxProcessLogs(string maxId)
		{
			DataStore.IProcessLog processLog = new ProcessLogAccess();
			return processLog.GetMaxProcessLogs(maxId);
		}
	} 
   
 
}
